import cn.hutool.core.util.IdUtil;

/**
 * @program: Learning
 * @description:
 * @Company: 终生学习
 * @author: peter.wei
 * @create: 2020-07-22 11:47
 **/
public class TestSnowflake {

    public static void main(String[] args) {
        for (int i1 = 0; i1 < 2; i1++) {
            System.out.println(IdUtil.getSnowflake(1,1).nextId());
        }
    }
}